﻿ALTER TABLE [cex].[TemplateHierarchy]
    ADD CONSTRAINT [FK_TemplateHierarchy_ParentId] FOREIGN KEY ([ParentId]) REFERENCES [cex].[Template] ([Id]) ON DELETE NO ACTION ON UPDATE NO ACTION;

